﻿@using WebApplication2.Controllers
@model IEnumerable<Students>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Test</title>
</head>
<body>
    <div> 
        <ui>
            @foreach (WebApplication2.Controllers.Students student in ViewBag.Stuinfo) 
            {
                    <li>@student.Name,@student.Age</li>            
            }


        </ui>
    </div>
</body>
</html>
